﻿<%@ Page Title="" Language="C#" MasterPageFile="~/ANMCMaster.Master" AutoEventWireup="true" CodeBehind="Default.aspx.cs" Inherits="AllNations.Default" %>
<%@ Register src="~/Controls/StaticMainImage.ascx" TagName="StaticMainImage" TagPrefix="ANMC" %>
<%@ Register src="~/Controls/RotatingBanners.ascx" TagName="RotatingBanners" TagPrefix="ANMC" %>
<%@ Register src="~/Controls/LatestAnnouncements.ascx" TagName="LatestAnnouncements" TagPrefix="ANMC" %>
<%@ Register src="~/Controls/LatestPhotoalbums.ascx" TagName="LatestPhotoalbums" TagPrefix="ANMC" %>
<%@ Register Src="~/Framework/UserControls/DatabaseContent.ascx" TagName="DatabaseContent" TagPrefix="ANMC" %>

<asp:Content ID="Content1" ContentPlaceHolderID="ANHeaderContent" runat="server">
    <style type="text/css">
    </style>
</asp:Content>
<asp:Content ID="ANPageHeaderContent" ContentPlaceHolderID="ANPageHeader" runat="server">
    <ANMC:StaticMainImage ID="StaticMainImage1" runat="server" />
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="ANBodyContent" runat="server">
    <telerik:RadAjaxManagerProxy ID="RadAjaxManagerProxy1" runat="server">
        <AjaxSettings>
            <telerik:AjaxSetting AjaxControlID="radMenuLeftNav" EventName="ItemClick">
                <UpdatedControls>
                    <telerik:AjaxUpdatedControl ControlID="HomepageViews" LoadingPanelID="RadAjaxLoadingPanel1" />
                </UpdatedControls>
            </telerik:AjaxSetting>
        </AjaxSettings>
    </telerik:RadAjaxManagerProxy>
    <telerik:RadAjaxLoadingPanel ID="RadAjaxLoadingPanel1" runat="server"></telerik:RadAjaxLoadingPanel>
    <div class="leftnav">
        <div style="margin: 11px 0px 25px 0px;"><asp:Image ID="Image2" runat="server" ImageUrl="~/Images/sectionTitle.png" /></div>
        <telerik:RadMenu ID="radMenuLeftNav" runat="server" EnableEmbeddedSkins="false" 
            Skin="ANMCLeftNav" OnItemClick="radMenuLeftNav_ItemClick">
            <Items>
                <telerik:RadMenuItem Text="환영합니다!" Value="Welcome" Selected="true"></telerik:RadMenuItem>
                <telerik:RadMenuItem Text="올네이션스 교회는" Value="About"></telerik:RadMenuItem>
                <telerik:RadMenuItem Text="교역자 소개" Value="Staff"></telerik:RadMenuItem>
                <telerik:RadMenuItem Text="교회 연혁" Value="History"></telerik:RadMenuItem>
                <telerik:RadMenuItem Text="찾아오시는 길" Value="Direction"></telerik:RadMenuItem>
            </Items>
        </telerik:RadMenu>
    </div>
    <div class="rightcontentarea">
        <div id="contentBoxHolder">
            <telerik:RadMultiPage ID="HomepageViews" runat="server" RenderSelectedPageOnly="true" SelectedIndex="0">
                <telerik:RadPageView ID="viewWelcome" runat="server">
                    <div class="ContentTitleBar">
                        <asp:Image runat="server" ImageUrl="~/Images/welcome.png" />
                    </div>
                    <div>
                        <div ID="MainImageHolder">
                            <ANMC:RotatingBanners ID="RotatingBanners1" runat="server" />
                            <div style="width: 467px;">
                                <ANMC:LatestAnnouncements runat="server" ID="LatestAnnouncements1" PageSize="6" />
                            </div>
                        </div>
                        <div ID="RightContent">
                            <div style="margin-bottom: 12px;"><asp:HyperLink ID="lnkSermonImage" runat="server" ImageUrl="~/Images/sermon.png" NavigateUrl="~/Worship?LatestSermon" /></div>
                            <div style="margin-bottom: 12px;"><img src="Images/schedule.png" /></div>
                            <div style="margin: 0px 10px;">
                                <ANMC:LatestPhotoalbums ID="LatestPhotoalbums1" runat="server" PageSize="2" />
                            </div>
                        </div>
                        <div style="clear: both;"></div>
                        <div id="EducationVisionHolder">
                            <div ID="EducationVision">
                                <asp:HyperLink ID="HyperLink1" runat="server" ImageUrl="~/Images/btChildrensMinistry.png" NavigateUrl="~/Education" />
                                <asp:HyperLink ID="HyperLink2" runat="server" ImageUrl="~/Images/btAwana.png" NavigateUrl="~/Education?AWANA" />
                                <asp:HyperLink ID="HyperLink3" runat="server" ImageUrl="~/Images/btYouthMinistry.png" NavigateUrl="~/YouthGroup" />
                                <asp:Image ID="Image1" runat="server" ImageUrl="~/Images/txtEducationVision.png" AlternateText="power of spirit..." />
                            </div>
                        </div>
                    </div>
                </telerik:RadPageView>
                <telerik:RadPageView ID="viewAbout" runat="server">
                    <div class="ContentTitleBar">
                        <asp:Image runat="server" ImageUrl="~/Images/titleAboutUs.png" />
                    </div>
                    <div style="margin-top: 15px;">
                        <div style="float:left; margin: 0px 15px;"><asp:Image runat="server" ImageUrl="~/Images/globe.png" /></div>
                        <div style="float:left; width: 470px;">
                            <div style="margin-bottom: 15px;"><asp:Image runat="server" ImageUrl="~/Images/anmc_vision_is.png" /></div>
                            <div style="margin-bottom: 15px;"><asp:Image runat="server" ImageUrl="~/Images/titlebar_vision_statement.png" /></div>
                            <div style="padding: 0px 10px;"><ANMC:DatabaseContent ID="AboutContents" runat="server" ContentCd="{B2D161D1-10BA-47A6-A5BC-73D2B196A282}" /></div>
                        </div>
                        <div style="clear:both;"></div>
                    </div>
                    <div style="margin: 15px 45px;"><asp:Image runat="server" ImageUrl="~/Images/titlebar_purpose.png" /><br />
                        <div style="border: 1px solid #e5e5e5; margin-left: 2px; margin-right: 25px; margin-top: 20px; padding: 10px 25px;">
                            <ANMC:DatabaseContent ID="DatabaseContent1" runat="server" ContentCd="{291FCD68-F400-4AA5-BDAC-DAFEE98380C9}" />
                        </div>
                    </div>
                    <div style="margin: 15px 45px;"><asp:Image runat="server" ImageUrl="~/Images/titlebar_core_values.png" /><br />
                        <div style="border: 1px solid #e5e5e5; margin-left: 2px; margin-right: 25px; margin-top: 20px; padding: 10px 25px;">
                            <ANMC:DatabaseContent ID="DatabaseContent2" runat="server" ContentCd="{E5E28EA0-DC52-4DF9-AB51-1BE99356495B}" />
                        </div>
                    </div>
                    <div style="margin: 15px 45px;"><asp:Image runat="server" ImageUrl="~/Images/titlebar_steps_of_maturity.png" /><br />
                        <div style="border: 1px solid #e5e5e5; margin-left: 2px; margin-right: 25px; margin-top: 20px; padding: 10px 25px;">
                            <ANMC:DatabaseContent ID="DatabaseContent3" runat="server" ContentCd="{180250B0-A972-4B21-A3D3-9AC4BA863697}" />
                        </div>
                    </div>
                </telerik:RadPageView>
                <telerik:RadPageView ID="viewStaff" runat="server">
                    <div class="ContentTitleBar">
                        <asp:Image runat="server" ImageUrl="~/Images/titleStaff.png" />
                    </div>
                    <ANMC:DatabaseContent ID="StaffContents" runat="server" ContentCd="{A3E5B5AA-289E-4778-BF46-4063C5588456}" />
                </telerik:RadPageView>
                <telerik:RadPageView ID="viewHistory" runat="server">
                    <div class="ContentTitleBar">
                        <asp:Image runat="server" ImageUrl="~/Images/titleHistory.png" />
                    </div>
                    <ANMC:DatabaseContent ID="HistoryContents" runat="server" ContentCd="{7E1E799B-4B90-4AEA-9311-52EB268C7872}" />
                </telerik:RadPageView>
                <telerik:RadPageView ID="viewDirection" runat="server">
                    <div class="ContentTitleBar">
                        <asp:Image runat="server" ImageUrl="~/Images/titleDirection.png" />
                    </div>
                    <ANMC:DatabaseContent ID="DirectionContents" runat="server" ContentCd="{4326D1A3-A00A-4B46-9FF4-B34B95C1FE18}" />
                </telerik:RadPageView>
            </telerik:RadMultiPage>
        </div>
        <div style="clear: both;"></div>
    </div>
    <div style="clear: both;"></div>
</asp:Content>
